# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-prosystem
pkgver=0_git20220228
pkgrel=0
_commit="fbf62c3dacaac694f7ec26cf9be10a51b27271e7"
pkgdesc="port of ProSystem to the libretro API"
url="https://github.com/libretro/prosystem-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/prosystem-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/prosystem-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 prosystem_libretro.so "$pkgdir"/usr/lib/libretro/prosystem_libretro.so
}

sha512sums="
6d8ab276e343538827d2f2fbdf5332ad98072f1dc404dd4eae3732e339fca47ca8606db050c98737fcd1eda1db918bef126c896f661e4c483d9dce61464af525  libretro-prosystem-fbf62c3dacaac694f7ec26cf9be10a51b27271e7.tar.gz
"
